#include <header.h>

void *run(void *p){

	return NULL;
}


int main(int argc, char* argv[]){

	pthread_mutex_t lock;
	pthread_mutexattr_t attr;
	pthread_mutexattr_init(&attr);
	pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK);
	pthread_mutex_init(&lock, &attr);


	pthread_mutex_lock(&lock);
	int res = pthread_mutex_lock(&lock);
	THREAD_ERROR_CHECK(res, "🐞")
	printf("main\n");
	pthread_mutex_unlock(&lock);
	return 0;
}